package serviceset2

class Inventory {

    Long count

    static belongsTo = [goods: Goods]

    static constraints = {
        goods(nullable: false)
        count(nullable: false, min: 0L)
    }
}
